﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    internal class 私有属性访问器
    {
        public float Price
        {
            //读属性
            get { return this.Price; }
            //写属性
            set { this.Price = value; }
        }
        public string Color { get => Color; set => Color = value; }
        //快捷键1
        //右键 快速操作和重构 封装字段

        //快捷键2
        //利用智能提示prop
        //Tab键跳转下一个提示
        public int Age { get; set; }
        public string Addres { get; set; }
        public bool Gender { get; set; }
        public string color
    }
}
